package cn.wangqi.personal.service;

import cn.wangqi.personal.domain.BlogUser;

/**
 * Created by admin on 2017/9/23.
 */
public interface IBlogUserService {

    /** 根据用户名查找用户
     * @param userName
     */
    BlogUser findBlogUserByUserName(String userName);

    /**
     * 创建用户
     * @param blogUser
     */
    void createUser(BlogUser blogUser);

    /** 修改密码
     * @param userId
     * @param newPassword
     */
    void changePassword(Integer userId, String newPassword);

}
